package com.otoe.dilidilivid.data.entity;

public class CommentInfo {
    private String userName;
    private String time;
    private String content;
    private int likeNum;

    public CommentInfo() {
        this.likeNum = 0;
    }

    public String getUserName() {
        return userName;
    }

    public String getTime() {
        return time;
    }

    public String getContent() {
        return content;
    }

    public int getLikeNum() {
        return likeNum;
    }

    public int likeAddOne() {
        return ++likeNum;
    }

    public void setUserName(String s) {
        this.userName = s;
    }

    public void setTime(String s) {
        this.time = s;
    }

    public void setContent(String s) {
        this.content = s;
    }

    public void setLikeNum(int s) {
        this.likeNum = s;
    }

}
